import { request } from "@/utils/service"
// 后台项目管理
export function getProjectList(data: any) {
  return request({
    url: "/bg/project/getList",
    method: "post",
    data
  })
}
//保存或修改
export function saveOrUpdateProject(data: any) {
  return request({
    url: "/bg/project/saveOrUpdate",
    method: "post",
    data
  })
}

// 详情
export function getProjectById(data: any) {
    return request({
      url: "/bg/project/getDetailById",
      method: "post",
      data
    })
}

// 获取企业微信签名
export function getWeComSignature(data: any) {
  return request({
    url: "/bg/project/getWeComSignature",
    method: "post",
    data
  })
}
